/* Basic styling for the entire page */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* background color of the page */
    color: #333; /* text color */
    text-align: center; /* align the text to the center */
}

/* Styling for the container that holds all the content */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #ffffff; /* background color of the container */
    padding: 30px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); 
    border-radius: 8px; 
}

/* Styling for headers */
h1, h2, h3, h4 {
    margin-top: 0;
    margin-bottom: 10px; /* add some space between the header and the content */
}

h1 {
    font-size: 2.5em; /* adjust main title size */
    color: #007bff; /* color of the main title */
}

h2 {
    font-size: 2em; /* adjust sub-title size */
}

h3 {
    font-size: 1.5em; 
    color: #007bff; 
}

.section {
    border: 1px solid #e1e1e1; /* the border around each section */
    border-radius: 5px; 
    padding: 20px;
    margin: 20px 0; 
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* add shadow */
}

/* Styling for images */
img {
    max-width: 100%;
    height: auto;
    margin: 20px auto; 
}

/* Form styling */
form {
    display: inline-block; 
    text-align: left; 
}

/* Styling for input fields and buttons */
input[type="text"], input[type="number"], button {
    width: 100%; /* make the input fields and buttons full width */
    padding: 12px; 
    margin: 10px 0; /* add some space between the input and the button */
    border: 1px solid #ccc; 
    border-radius: 5px; 
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1); 
}

button {
    background-color: #007bff; /* background color of the button */
    color: #fff; /* color of the text on the button */
    border: none; 
    cursor: pointer; 
    font-size: 16px; 
    transition: background-color 0.3s; /* transition effect for button background color */
}

button:hover {
    background-color: #0056b3; /* the hover effect for the button */
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #e1e1e1; /* the border around the table */
}

th, td {
    padding: 15px;
    text-align: left;
}

th {
    background-color: #007bff; /* the header row background color */
    color: white;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2; /*change background color of odd rows*/
}

form {
    margin-bottom: 20px;
}

input[type="text"], input[type="number"], button {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049; /* the hover effect for the button */
}
